import _ from 'lodash';

function component() {
    const element = document.createElement('div');

    element.innerHTML = _.join(['Config', 'webpack!!!'], ' ');
    element.innerHTML += "吃了没？！";
    return element;
}

console.log(component());
console.log(document.body);
document.body.appendChild(component());